package com.atxiaodei.kabudashejimoshi.策略模式;

/**
 * @ClassName WechatPay
 * @Deacription 创建支付方式  微信支付
 * @Author 卡布达
 * @Date 2021/10/13 22:05
 * @Version 1.0
 **/
public class WechatPay extends Payment{

    @Override
    public String getName() {
        return "微信支付";
    }

    @Override
    protected double queryBalance(String uid) {

        return 600;
    }
}
